package com.mystudy.concurrent.designModel.singleThreadModel;

/**
 * TODO:
 *
 * @author acy
 * @since 2019/05/28 19:32
 */
public class Client {
	public static void main(String[] args) {
		Gate gate = new Gate();
		UserModel user1=new UserModel("szh","sz",gate);
		UserModel user2=new UserModel("cy","cs",gate);
		UserModel user3=new UserModel("acy","ael",gate);
		user1.start();
		user2.start();
		user3.start();
	}
}
